package Observer;

/**
 * @className: WXObserver
 * @Auther: jiesen.liu
 * @Date: 2019/7/22 17:37
 * @package: Observer
 */
public class WXObserver implements ObServerUser {

    private String name;
    @Override
    public void update(String value) {
        System.out.println(name+"---- value--------"+ value);
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }
}
